package com.sjzl.entity;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * 管理主题帖子与来访者关系的表
 * @author 黄健、莫伯先
 *
 */
@Entity
@Table(name="tb_postvisitor")
public class PostVisitor extends BaseEntity{
	
	private Post post;
	private String vusername;
	private String headImageSrc;
	
	@ManyToOne
	public Post getPost() {
		return post;
	}
	public void setPost(Post post) {
		this.post = post;
	}
	public String getVusername() {
		return vusername;
	}
	public void setVusername(String vusername) {
		this.vusername = vusername;
	}
	public String getHeadImageSrc() {
		return headImageSrc;
	}
	public void setHeadImageSrc(String headImageSrc) {
		this.headImageSrc = headImageSrc;
	}
	
}
